﻿// See https://aka.ms/new-console-template for more information
using Quartz;
using Quartz.Impl;

Console.WriteLine("Hello, World!");

await MainAsync();
Console.ReadKey();

static async Task MainAsync()
{
    IScheduler Scheduler = await StdSchedulerFactory.GetDefaultScheduler();
    await Scheduler.Start();
    Console.WriteLine("任务调度器已启动");
}